﻿namespace Microsoft.Practices.CompositeUI
{
    /// <summary>
    /// 	Defines a set of methods to be implemented by modules deployed in the application.
    /// </summary>
    public interface IModule
    {
        /// <summary>
        /// 	Allows the module to add services to the root <see cref = "WorkItem" /> on startup.
        /// </summary>
        void AddServices();

        /// <summary>
        /// 	Allows the module to be notified that it has been loaded.
        /// </summary>
        void Load();
    }
}